package org.jtao.gbsubject.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;

import javax.persistence.ManyToOne;

public class CurrentStateExcelModel {

    @Excel(name = "专业名称")
    private String subjectName;

    @ExcelEntity(name = "专任教师")
    @ManyToOne
    private FullTimeTeachersModel fullTimeTeachers;

    @ExcelEntity(name = "总学分或学时")
    @ManyToOne
    private TotalCreditsModel totalCredits;

    @ExcelEntity(name = "生师比")
    @ManyToOne
    private TeacherStudentRatioModel teacherStudentRatio;

    @ExcelEntity(name = "专任教师中硕士及以上教师比例（%）")
    @ManyToOne
    private MasterRatioModel masterRatio;

    public void setMasterRatio(MasterRatioModel masterRatio) {
        this.masterRatio = masterRatio;
    }

    public MasterRatioModel getMasterRatio() {

        return masterRatio;
    }

    public void setTeacherStudentRatio(TeacherStudentRatioModel teacherStudentRatio) {
        this.teacherStudentRatio = teacherStudentRatio;
    }

    public TeacherStudentRatioModel getTeacherStudentRatio() {

        return teacherStudentRatio;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public FullTimeTeachersModel getFullTimeTeachers() {
        return fullTimeTeachers;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public void setFullTimeTeachers(FullTimeTeachersModel fullTimeTeachers) {
        this.fullTimeTeachers = fullTimeTeachers;
    }

    public void setTotalCredits(TotalCreditsModel totalCredits) {
        this.totalCredits = totalCredits;
    }

    public TotalCreditsModel getTotalCredits() {
        return totalCredits;
    }
}
